]> dgit.raspbian.org Git - gnome-shell.git/log
gnome-shell.git
11 years agopopupMenu: Use TOPBAR_POPUP action mode for all menus
Florian Müllner [Mon, 23 Feb 2015 19:07:04 +0000 (20:07 +0100)]
popupMenu: Use TOPBAR_POPUP action mode for all menus

When it comes to keybindings or gestures, there's not really a good
reason why popups associated with the top bar should behave differently
from any other shell menus. Just set the action mode generically for
all menus, so actions like screenshots or media-keys start working
with menus like the background- or app launcher context menus.

https://bugzilla.gnome.org/show_bug.cgi?id=745039

11 years agoUpdated Brazilian Portuguese translation
Rafael Ferreira [Mon, 23 Feb 2015 19:27:17 +0000 (19:27 +0000)]
Updated Brazilian Portuguese translation

11 years agopo: fix issue in French translation
Frédéric Péters [Mon, 23 Feb 2015 18:41:38 +0000 (19:41 +0100)]
po: fix issue in French translation

https://bugzilla.gnome.org/show_bug.cgi?id=744871

11 years agoUpdated Spanish translation
Daniel Mustieles [Mon, 23 Feb 2015 18:14:11 +0000 (19:14 +0100)]
Updated Spanish translation

11 years agoUpdate theme
Florian Müllner [Mon, 23 Feb 2015 12:00:28 +0000 (13:00 +0100)]
Update theme

11 years agoUpdate theme
Cosimo Cecchi [Sun, 22 Feb 2015 06:00:20 +0000 (22:00 -0800)]
Update theme

11 years agoUpdated Hungarian translation
Balázs Úr [Sun, 22 Feb 2015 19:29:03 +0000 (19:29 +0000)]
Updated Hungarian translation

11 years agoUpdated Turkish translation
Muhammet Kara [Sat, 21 Feb 2015 21:54:59 +0000 (21:54 +0000)]
Updated Turkish translation

11 years agobuild: Keep CSS updated when sass is installed
Florian Müllner [Sat, 21 Feb 2015 14:05:16 +0000 (15:05 +0100)]
build: Keep CSS updated when sass is installed

11 years agobuild: Split sass files into sources and non-sources
Florian Müllner [Sat, 21 Feb 2015 15:19:54 +0000 (16:19 +0100)]
build: Split sass files into sources and non-sources

11 years agobuild: Use $(NULL) terminator for data files
Florian Müllner [Sat, 21 Feb 2015 15:16:48 +0000 (16:16 +0100)]
build: Use $(NULL) terminator for data files

11 years agocalendar: Fix message markup getting lost
Florian Müllner [Sat, 21 Feb 2015 19:10:41 +0000 (20:10 +0100)]
calendar: Fix message markup getting lost

We reuse the old body text on useMarkup changes and for expanded
labels. However just taking it from the label actor does not work
when markup is used, as once applied it will be stripped from
ClutterText:text.
So to preserve markup, keep our own copy of the original string
around.

https://bugzilla.gnome.org/show_bug.cgi?id=744907

11 years agocalendar: Fix quoting issues in notification titles
Florian Müllner [Sat, 21 Feb 2015 18:08:27 +0000 (19:08 +0100)]
calendar: Fix quoting issues in notification titles

Markup in notification titles is not support (and never has been).
Therefore the text is run through g_markup_escape_text(), and as
a result we do have to use markup internally to correctly show
legal-but-escape characters like '&' or '"'.

https://bugzilla.gnome.org/show_bug.cgi?id=744894

11 years agoTheme: Too many values for border-radius property.
Miguel Vaello Martínez [Sat, 21 Feb 2015 17:20:52 +0000 (18:20 +0100)]
Theme: Too many values for border-radius property.

GNOME Shell throws the following warning message:
'St-WARNING **: Too many values for border-radius property.'

Was fixed with just remove the last '0' on the 'border-radius'
property in the '.tile-preview-left.on-primary' class on both files:
gnome-shell.css and gnome-shell-high-contrast.css.

https://bugzilla.gnome.org/show_bug.cgi?id=744900

11 years agoBring back .resize-popup style
Florian Müllner [Sat, 21 Feb 2015 17:07:25 +0000 (18:07 +0100)]
Bring back .resize-popup style

11 years agoAdd back monitor OSD style that did not surive the sass rewrite
Florian Müllner [Sat, 21 Feb 2015 15:28:07 +0000 (16:28 +0100)]
Add back monitor OSD style that did not surive the sass rewrite

11 years agoUpdated Chinese (Taiwan) translation
Chao-Hsiung Liao [Sat, 21 Feb 2015 10:18:01 +0000 (10:18 +0000)]
Updated Chinese (Taiwan) translation

11 years agodateMenu: Update message indicator on queue changes
Florian Müllner [Sat, 21 Feb 2015 08:59:24 +0000 (09:59 +0100)]
dateMenu: Update message indicator on queue changes

The message indicator conveys that the message list contains unseen
messages that will not be shown as banner. So its visibility depends
on two factors: the number of unseen messages, and the number of
messages waiting in the queue to be shown as banner. As we currently
only update the visibility on changes to the former, the indicator is
not always accurate - for instance sources notify count changes before
passing on a notification to the message tray for display.
To fix, add a signal to the message tray to notify when the queue
changes and use it to update the indicator's visibility.

https://bugzilla.gnome.org/show_bug.cgi?id=744880

11 years agoUpdated Slovak translation
Dušan Kazik [Sat, 21 Feb 2015 08:05:04 +0000 (08:05 +0000)]
Updated Slovak translation

11 years agomessageTray: Make Tweener shut up about normal properties
Jasper St. Pierre [Sat, 21 Feb 2015 02:11:58 +0000 (18:11 -0800)]
messageTray: Make Tweener shut up about normal properties

Tweener needs an initial value to tween from, otherwise it won't
work, so give it something it can use.

11 years agoUpdate theme
Jasper St. Pierre [Sat, 21 Feb 2015 02:09:35 +0000 (18:09 -0800)]
Update theme

One more time to fix workspace thumbnail

11 years agoUpdate theme again
Jasper St. Pierre [Sat, 21 Feb 2015 02:02:50 +0000 (18:02 -0800)]
Update theme again

This time to add a bit of spacing around the app menu.

11 years agoSt: draw the actor at full opacity when creating shadow material
Giovanni Campagna [Mon, 4 Jun 2012 22:13:26 +0000 (00:13 +0200)]
St: draw the actor at full opacity when creating shadow material

When creating the shadow, we should ignore the opacity set on the
actor and its parent, as it will be applied again at a later stage.

https://bugzilla.gnome.org/show_bug.cgi?id=677412

11 years agodata: Update theme again
Jasper St. Pierre [Sat, 21 Feb 2015 01:43:46 +0000 (17:43 -0800)]
data: Update theme again

Fix another warning message when opening the calendar.

11 years agoshell-plugin: Remove unused variables
Jasper St. Pierre [Sat, 21 Feb 2015 00:14:44 +0000 (16:14 -0800)]
shell-plugin: Remove unused variables

11 years agost-private: Update shadow APIs for Cogl deprecations
Jasper St. Pierre [Sat, 21 Feb 2015 01:09:20 +0000 (17:09 -0800)]
st-private: Update shadow APIs for Cogl deprecations

11 years agost-box-layout: Fix Cogl deprecations
Jasper St. Pierre [Sat, 21 Feb 2015 01:02:56 +0000 (17:02 -0800)]
st-box-layout: Fix Cogl deprecations

11 years agoshell-invert-lightness-effect: Fix Cogl deprecations
Jasper St. Pierre [Sat, 21 Feb 2015 01:01:38 +0000 (17:01 -0800)]
shell-invert-lightness-effect: Fix Cogl deprecations

11 years agost-drawing-area: Fix Cogl deprecations
Jasper St. Pierre [Sat, 21 Feb 2015 01:01:15 +0000 (17:01 -0800)]
st-drawing-area: Fix Cogl deprecations

11 years agodata: Update sass to latest master
Jasper St. Pierre [Sat, 21 Feb 2015 01:39:24 +0000 (17:39 -0800)]
data: Update sass to latest master

To solve a warning message.

11 years agoUpdate .gitignore
Jasper St. Pierre [Sat, 21 Feb 2015 01:37:59 +0000 (17:37 -0800)]
Update .gitignore

11 years agotheme-node: Add more information to length error message
Jasper St. Pierre [Sat, 21 Feb 2015 01:37:28 +0000 (17:37 -0800)]
theme-node: Add more information to length error message

11 years agoshell-app: Remove leftover struct
Jasper St. Pierre [Sat, 21 Feb 2015 00:48:40 +0000 (16:48 -0800)]
shell-app: Remove leftover struct

11 years agogitmodules: Fix URL for previous commit
Colin Walters [Fri, 20 Feb 2015 22:08:42 +0000 (17:08 -0500)]
gitmodules: Fix URL for previous commit

11 years ago.gitmodules: Use git protocol instead https
Javier Jardón [Fri, 20 Feb 2015 21:57:07 +0000 (21:57 +0000)]
.gitmodules: Use git protocol instead https

11 years agoBump version to 3.15.90
Florian Müllner [Fri, 20 Feb 2015 18:20:56 +0000 (19:20 +0100)]
Bump version to 3.15.90

Update NEWS.

11 years agobuild: Work around distcheck issue
Florian Müllner [Fri, 20 Feb 2015 19:13:46 +0000 (20:13 +0100)]
build: Work around distcheck issue

11 years agobuild: Remove deprecated env vars from autogen call
Florian Müllner [Fri, 20 Feb 2015 19:10:45 +0000 (20:10 +0100)]
build: Remove deprecated env vars from autogen call

11 years agobuild: Dist theme sources
Florian Müllner [Fri, 20 Feb 2015 18:42:07 +0000 (19:42 +0100)]
build: Dist theme sources

11 years agomessageTray: Special-case chat notifications to use the old actor
Florian Müllner [Fri, 20 Feb 2015 10:18:15 +0000 (11:18 +0100)]
messageTray: Special-case chat notifications to use the old actor

11 years agotelepathyClient: Provide createBanner() implementation
Florian Müllner [Tue, 17 Feb 2015 03:19:07 +0000 (04:19 +0100)]
telepathyClient: Provide createBanner() implementation

Chat notifications are king of custom, so we'll leave them out for now
and keep using the old banner. However we can port the subscription
notification.

11 years agoautorunManager: Provide a createBanner() implementation
Florian Müllner [Tue, 17 Feb 2015 02:40:25 +0000 (03:40 +0100)]
autorunManager: Provide a createBanner() implementation

Hotplug notifications use custom notification banners to include
application icons in buttons. Bring those back by providing an
appropriate createBanner() implementation.

11 years agomessageTray: Provide a hook for customizing banners
Florian Müllner [Tue, 17 Feb 2015 02:27:11 +0000 (03:27 +0100)]
messageTray: Provide a hook for customizing banners

While we want to encourage the use of regular notification banners,
some of our built-in stuff does require more or less customized content
("more" being chat notifications, a.k.a. king of custom).
Account for this use case by delegating banner creation to a method,
so either Notification or Source subclasses can overwrite it.

11 years agotelepathyClient: Don't use customContent notifications gratuitously
Florian Müllner [Fri, 13 Feb 2015 01:17:57 +0000 (02:17 +0100)]
telepathyClient: Don't use customContent notifications gratuitously

Nothing except for the chat notification is really custom, so stop
specifying the flag for anything else - it will soon become a bit
harder to create non-standard notifications, so don't do it for no
good reason (discouraging this is of course the reason for making it
harder in the first place) ...

11 years agomessageTray: Remove overlaid close button
Florian Müllner [Wed, 11 Feb 2015 19:35:50 +0000 (20:35 +0100)]
messageTray: Remove overlaid close button

The new notification banner already includes a close button, so remove
the one provided by the tray.

11 years agomessageTray: Use NotificationBanner in banner mode
Florian Müllner [Tue, 17 Feb 2015 02:13:56 +0000 (03:13 +0100)]
messageTray: Use NotificationBanner in banner mode

Instead of using the notification's own actor as a banner (and
keeping it around after the banner was displayed to not dismiss
the notification itself), create a separate banner actor from
the information the notification provides, just like we do for
lock screen and message list notifications.
This change breaks notifications with custom content, but only
temporarily - we will soon provide a hook to allow customizations
again.

11 years agomessageTray: Limit number of buttons in banners
Florian Müllner [Tue, 17 Feb 2015 02:53:00 +0000 (03:53 +0100)]
messageTray: Limit number of buttons in banners

The design states that notifications should have a maximum of three
buttons, so enforce this in the new banner actors.

11 years agomessageTray: Add NotificationBanner actor
Florian Müllner [Tue, 17 Feb 2015 00:13:48 +0000 (01:13 +0100)]
messageTray: Add NotificationBanner actor

We no longer have a single notification actor that is either displayed
as banner or reparented to the summary depending on state - both the
lock screen and the notification section of the message list create
their own UI based on the information attached to the notification
object. Adding to this that different representations of a notification
may now exist simultaneously (as they are included in the message list
immediately rather than after the banner has been displayed), it no
longer makes sense to keep the banner actor in the notification itself.

Add a new NotificationBanner class that provides a separate banner
implementation based on the message list's NotificationMessage that will
soon replace the existing notification banners.

11 years agomessageTray: Record actions added to notifications
Florian Müllner [Thu, 19 Feb 2015 12:45:31 +0000 (13:45 +0100)]
messageTray: Record actions added to notifications

Both the screen shield and the notification section in the message
list create their own UI for notifications rather than using the
notification actor itself. Currently there is no clean way for such
representations to include notification actions - we will need this
as we will soon use a separate actor for banners as well, so keep
track of actions added via addAction().

11 years agocalendar: Add support for action area and expanded bodies
Florian Müllner [Tue, 17 Feb 2015 00:12:44 +0000 (01:12 +0100)]
calendar: Add support for action area and expanded bodies

Notifications in the message list cannot be expanded, however we will
soon use NotificationMessage to re-implement notification banners, where
we still want actions and expanded content.
While this functionality logically belongs to the future banner subclass,
it is cleaner and easier to have the basic support in the base class.
This also leaves the door open for expanded notifications in the summary,
should that become a thing again.

11 years agodateMenu: Block notification banners while the calendar is open
Florian Müllner [Fri, 13 Feb 2015 22:53:18 +0000 (23:53 +0100)]
dateMenu: Block notification banners while the calendar is open

The new banner position interferes with the calendar drop-down. Resolve
this by blocking banners while the calendar is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agolayout: Don't offset trayBox when panel is hidden
Florian Müllner [Sat, 14 Feb 2015 15:03:28 +0000 (16:03 +0100)]
layout: Don't offset trayBox when panel is hidden

The panel is not visible when in fullscreen, but critical notifications
may still be shown - having them pop out from where the panel would be
looks unpolished, so adjust the trayBox accordingly.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Move notification banners to the top
Florian Müllner [Thu, 19 Feb 2015 10:08:39 +0000 (11:08 +0100)]
messageTray: Move notification banners to the top

The new design has banners appear from underneath the panel, so move
them to the top and clip them to the work area.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agolayout: Add back affectsInputRegion
Florian Müllner [Mon, 9 Feb 2015 08:25:00 +0000 (09:25 +0100)]
layout: Add back affectsInputRegion

It was removed as actors that should not affect the input
region can simply be added to the uiGroup instead. However
the property is useful to add non-reactive chrome, but then
use trackChrome() to add a child to the input region.

This reverts commit e62d22a50ed8aa25de988fb3c389b999e42f2eac.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agolayout: Add MonitorConstraint:work-area property
Florian Müllner [Fri, 6 Feb 2015 18:27:02 +0000 (19:27 +0100)]
layout: Add MonitorConstraint:work-area property

Occasionally it makes sense to constrain to a monitor's work-area
rather than the entire monitor, so implement that behavior and add
a property to turn it on.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Work around glitches with hover tracking
Florian Müllner [Fri, 13 Feb 2015 20:12:53 +0000 (21:12 +0100)]
messageTray: Work around glitches with hover tracking

St's hover tracking uses ClutterInputDevice, which unfortunately may use
an outdated cursor position to determine which actor is hovered. Using
MetaCursorTracker instead would fix this, but would require linking St with
libmutter - avoid this for now by manually fixing up Clutter's view of
the pointer position in the case where we rely on it working properly.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Limit number of notifications per source
Florian Müllner [Fri, 13 Feb 2015 23:06:11 +0000 (00:06 +0100)]
messageTray: Limit number of notifications per source

While applications can no longer spam the users with a constant stream
of banner notifications, it is still possible to drown the summary in
the message list. Avoid this by limiting the number of notifications a
single source is allowed to display simultaniously.

test-xy-stress in libnotify's tests suddenly became fun again ...

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Skip banner mode when queue exceeds a threshold
Florian Müllner [Sat, 14 Feb 2015 02:18:52 +0000 (03:18 +0100)]
messageTray: Skip banner mode when queue exceeds a threshold

We want to shield users from being overloaded by an overwhelming stream
of notification banners, either due to coming back from idle/lock or
because an application is misbehaving. Previously we replaced all queued
notifications with a summary notification in that case, but now that
notifications appear in the summary immediately, we can simply stop
adding them to the queue and rely on the date menu to convey that
information to the user.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agodateMenu: Show indicator for messages that skipped banner mode
Florian Müllner [Sat, 14 Feb 2015 02:17:16 +0000 (03:17 +0100)]
dateMenu: Show indicator for messages that skipped banner mode

The summary may contain notifications that have not been seen by the user
and won't be shown as banner. Currently this is only the case for resident
notifications that are emitted by the focused app, but it will become more
common as we will start limiting the number of queued notifications.
Indicate to the user that more notifications are available by displaying a
small dot in the top bar button.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Notify when notifications are acknowledged
Florian Müllner [Sat, 14 Feb 2015 01:33:54 +0000 (02:33 +0100)]
messageTray: Notify when notifications are acknowledged

Source::count-updated is emitted as notifications are added or removed,
which is correct for the primary notification count. However it is not
for the unseen count, which will also change when a notification is
acknowledged without being removed. At the moment this does not matter,
as the unseen count is only used on the screen shield and notifications
are never acknowledged while the screen is locked. However we will soon
use the unseen count in the normal session as well, so emit the signal
in this case too.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Simplify the actor hierarchy a bit
Florian Müllner [Wed, 11 Feb 2015 17:04:22 +0000 (18:04 +0100)]
messageTray: Simplify the actor hierarchy a bit

With no more tricky interaction between bottom tray and notification
banners, we can merge the remaining actors into a single one.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Remove the bottom tray
Florian Müllner [Wed, 11 Feb 2015 16:29:23 +0000 (17:29 +0100)]
messageTray: Remove the bottom tray

It no longer does anything useful by now, so kill it off.
Even more complexity gone, yay!

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agooverviewControls: Remove message indicator
Florian Müllner [Wed, 11 Feb 2015 16:23:30 +0000 (17:23 +0100)]
overviewControls: Remove message indicator

The message tray is now empty and about to be removed, so an indication
at the bottom edge of the overview becomes an odd location to convey the
status of the summary. We will eventually display an indication in the
top bar that unseen messages are available, for now just remove the
existing indicator.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Remove summary notification
Florian Müllner [Sat, 14 Feb 2015 02:19:49 +0000 (03:19 +0100)]
messageTray: Remove summary notification

Using a "There are too many notifications" notification is a bit odd,
and we will address the issue differently soon. So rather than update
the notification to do something else than opening the mostly empty and
useless tray when clicked, remove it altogether.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Remove _lastNotificationRemoved()
Florian Müllner [Sun, 15 Feb 2015 19:19:03 +0000 (20:19 +0100)]
messageTray: Remove _lastNotificationRemoved()

No Source subclass used it to do anything special, and with sources
no longer having any UI representation on their own, doing anything
else isn't useful either, so just kill off that hook.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Remove mute support
Florian Müllner [Tue, 17 Feb 2015 02:49:24 +0000 (03:49 +0100)]
messageTray: Remove mute support

It was a nice feature, but with sources no longer being represented in
the UI, there is no longer a way for users to make use of it. If we want
to bring the feature back in the future, it would probably make more
sense to implement via the chat source's policy anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Remove UI bits from Source
Florian Müllner [Thu, 19 Feb 2015 13:31:11 +0000 (14:31 +0100)]
messageTray: Remove UI bits from Source

Since the summary area was removed from the message tray, Source are not
longer represented in the UI, so right-click menus and summary icons are
no longer a thing.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agowindowManager: Take over <super>m keybinding to toggle calendar
Florian Müllner [Wed, 18 Feb 2015 01:52:07 +0000 (02:52 +0100)]
windowManager: Take over <super>m keybinding to toggle calendar

It's where all the fun is happening nowadays ...

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agomessageTray: Remove the summary
Florian Müllner [Wed, 11 Feb 2015 15:41:54 +0000 (16:41 +0100)]
messageTray: Remove the summary

The notification list in the calendar drop-down now functions as summary
area, so we can drop it from the message tray and remove a lot of complexity
from the state machine.

https://bugzilla.gnome.org/show_bug.cgi?id=744850

11 years agonotificationDaemon: Do the same for GTK+ notifications
Florian Müllner [Sat, 14 Feb 2015 05:01:20 +0000 (06:01 +0100)]
notificationDaemon: Do the same for GTK+ notifications

There is not good reason why activating a GTK+ notification should
behave fundamentally different from fd.o notifications - we don't
raise the app because we expect it to perform an appropriate action,
but that does not include closing overview or calendar for us ...

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agonotificationDaemon: Close calendar when opening app
Florian Müllner [Sat, 14 Feb 2015 04:59:01 +0000 (05:59 +0100)]
notificationDaemon: Close calendar when opening app

Just like we leave the overview when activating a notification,
the calendar popup should be closed - after all, the only case
where the calendar is open when a notification's default action
is activated is the user clicking an entry in the message list's
notification section.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agocalendar: Add NotificationSection to message list
Florian Müllner [Wed, 11 Feb 2015 19:41:56 +0000 (20:41 +0100)]
calendar: Add NotificationSection to message list

Display notifications that have not been dismissed in the message
list - eventually this will replace the existing message tray summary.
Notification messages show icon, title and one line of the body and
can be clicked to activate the default action. However they cannot be
expanded, so other actions or the full body text are not accessible
in this mode.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agomessageTray: Notify on notification updates
Florian Müllner [Thu, 19 Feb 2015 18:23:14 +0000 (19:23 +0100)]
messageTray: Notify on notification updates

Since notification support was added to the lock screen, notifications
are no longer necessarily represented by the actual notification actor
anymore. However when an existing notification is updated, external
representations currently become outdated.
Emit an appropriate signal which allows them to update.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agomessageTray: Make Notification._onClicked handler public
Florian Müllner [Wed, 18 Feb 2015 23:00:25 +0000 (00:00 +0100)]
messageTray: Make Notification._onClicked handler public

When we will start to show notifications in the date drop-down, we
will not use the actual notification actor, but construct our own UI
based on Calendar.Message. This is similar to what we already do in
the lock screen, except that in this case clicking the notification
should activate the default action.
So rename the existing _onClicked() method to activate() to make it
clear that such use is acceptable. While not strictly necessary, also
rename the corresponding signal to match.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agodateMenu: Freeze popup size while browsing
Florian Müllner [Fri, 13 Feb 2015 15:25:21 +0000 (16:25 +0100)]
dateMenu: Freeze popup size while browsing

As the popup's height depends on its content, which itself varies
depending on the selected day, browsing the calendar can result
in distracting size changes. To avoid this, the design calls for
the height to be frozen to the previous one in that case.
As the popup will always open with the current day selected, we
don't have to be very sophisticated and can just lock the popup
to the height corresponding to that day.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agodateMenu: Stop hiding the events list
Florian Müllner [Thu, 5 Feb 2015 15:56:51 +0000 (16:56 +0100)]
dateMenu: Stop hiding the events list

The message list is not only a replacement for the calendar events
list, it will also take over the notification summary from the
message tray. As we start drawing events from other sources than
calendars, hiding it based on whether or not any calendars have
been set up is no longer appropriate, so always include it in the
calendar drop-down now.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agodateMenu: Add world clock section
Florian Müllner [Fri, 6 Feb 2015 23:47:27 +0000 (00:47 +0100)]
dateMenu: Add world clock section

Rather than just offering to open Clocks when installed, pick up
configured locations and display their time directly in the popup.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agodateMenu: Remove "Open Calendar" item
Florian Müllner [Thu, 5 Feb 2015 16:13:31 +0000 (17:13 +0100)]
dateMenu: Remove "Open Calendar" item

This functionality is now available through the Events section
header in the message list, so we don't need a separate menu
item for it.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agodateMenu: Replace EventsList with MessageList
Florian Müllner [Thu, 11 Dec 2014 17:29:17 +0000 (18:29 +0100)]
dateMenu: Replace EventsList with MessageList

Turn the existing EventsList into a MessageListSection and add the
message list to the calendar drop-down. The new events list only
displays events for the currently selected day, but in a more
structured and friendlier way than the old one.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agocalendar: Add MessageList and Section/Message base types
Florian Müllner [Fri, 5 Dec 2014 15:24:35 +0000 (16:24 +0100)]
calendar: Add MessageList and Section/Message base types

The message list is a scrollable list that will hold sections of
different types of time-related messages like notifications,
calendar events or birthday reminders. When no section displays
any content for the selected date, a placeholder is shown instead.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agocalendar: Copy URLHighlighter and friends here
Florian Müllner [Mon, 16 Feb 2015 18:40:00 +0000 (19:40 +0100)]
calendar: Copy URLHighlighter and friends here

We will start using both URLHighlighter and the _fixMarkup() helper
method the same way it's used in MessageTray. Usually we should
make fixMarkup() public and call the existing methods, but we are
planning for them to go away soon, so just keep two copies until
the original one is removed.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agopanel: Add function to close the calendar
Florian Müllner [Fri, 13 Feb 2015 09:44:13 +0000 (10:44 +0100)]
panel: Add function to close the calendar

We will soon replace regular menu items in the calendar drop-down
with more complex elements.
However there will still be items that should close the drop down
when activated - rather than making the menu available throughout
the hierarchy (and eventually from outside as well when we add the
notifications list), have a public method on a global object just
like the ubiquitous Main.overview.hide().

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agodateMenu: Remove link to Date & Time Settings
Florian Müllner [Sat, 7 Feb 2015 00:41:11 +0000 (01:41 +0100)]
dateMenu: Remove link to Date & Time Settings

Menu items are on their way out of the calendar drop down, so let's
start with the easy one. This one is removed without replacement,
but then the Date & Time panel should be a one-time stop for most
users anyway, so not having a direct shortcut should not be much of
a problem. It is also the last remaining Settings item outside the
system menu ...

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agodateMenu: Make "today" button more prominent
Florian Müllner [Fri, 5 Dec 2014 15:03:59 +0000 (16:03 +0100)]
dateMenu: Make "today" button more prominent

Split the weekday from the date and increase the latter's size to
match the latest calendar mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agodateMenu: Swap calendar and event columns
Florian Müllner [Fri, 30 Jan 2015 04:56:28 +0000 (05:56 +0100)]
dateMenu: Swap calendar and event columns

The new design has the events list on the left and the calendar on the
right, so swap them around and remove the vertical separator between
them in favor of some additional whitespace as in the mockups.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agoRevert "calendar: Use Clutter.GridLayout"
Florian Müllner [Sun, 15 Feb 2015 18:45:18 +0000 (19:45 +0100)]
Revert "calendar: Use Clutter.GridLayout"

GridLayout has some weird allocation issues, TableLayout - deprecated
or not - works, so just keep using that for now.

This reverts commit e9f95ca605c225b97963b7a0d5df3dfc6b4702da.

https://bugzilla.gnome.org/show_bug.cgi?id=744817

11 years agoupdate theme
Carlos Soriano [Fri, 20 Feb 2015 09:36:43 +0000 (10:36 +0100)]
update theme

11 years agopopupMenu: Use a StWidget instead of a Separator
Carlos Soriano [Fri, 20 Feb 2015 09:35:30 +0000 (10:35 +0100)]
popupMenu: Use a StWidget instead of a Separator

We don't use the gradient part of a Separator, so we can
just use a StWidget instead and shut up some warnings

11 years agotheme: Use gnome-shell-sass as a submodule
Carlos Soriano [Thu, 19 Feb 2015 20:51:38 +0000 (21:51 +0100)]
theme: Use gnome-shell-sass as a submodule

The sass sources now live in a project in GNOME, so they can
be used in multiple projects like gnome-shell-extensions.
Because of that, add gnome-shell-sass as a submodule of gnome-shell
and remove the sass sources from the theme directory.

11 years agostatus: Stop using .panel-status-button
Florian Müllner [Tue, 17 Feb 2015 23:01:09 +0000 (00:01 +0100)]
status: Stop using .panel-status-button

This used to be the style-class for status icons (i.e. icon-only
top bar items). It got unused a while ago when the class used
by status icons stopped using it - except for the keyboard indicator,
which set the class manually to appear as status icon despite not
being a real icon.
Now that the button highlight is provided by the .panel-button class
on a parent, the obsolete class results in a double border on the
keyboard indicator when active - just drop it from there as well
to fix.

11 years agotheme: sass code structure
Jakub Steiner [Tue, 17 Feb 2015 15:12:39 +0000 (16:12 +0100)]
theme: sass code structure

11 years agoFix .panel-menu
Florian Müllner [Tue, 17 Feb 2015 15:00:47 +0000 (16:00 +0100)]
Fix .panel-menu

While clearly related to the top bar, it's not a child, so the
selector "#panel .panel-menu" does not match anything.

11 years agoFix panel-menu margin regression
Florian Müllner [Tue, 17 Feb 2015 14:22:33 +0000 (15:22 +0100)]
Fix panel-menu margin regression

Commit 7bb7734869c09 got lost in SASS ...

11 years agotheme: fix borders on the dash
Jakub Steiner [Tue, 17 Feb 2015 12:02:40 +0000 (13:02 +0100)]
theme: fix borders on the dash

- the goal is to have the items activate even on the edge
  sadly this Fitzsiness is only working on the app vault icon
  at the bottom, not the regular icons so far.

11 years agotheme: fix some placeholder colors
Jakub Steiner [Mon, 16 Feb 2015 23:19:34 +0000 (00:19 +0100)]
theme: fix some placeholder colors

11 years agotheme: tweaks
Jakub Steiner [Wed, 11 Feb 2015 15:05:50 +0000 (16:05 +0100)]
theme: tweaks

- popover separators
- ws switcher osd colors

11 years agotheme: avoid hardcoded color
Jakub Steiner [Mon, 9 Feb 2015 15:47:08 +0000 (16:47 +0100)]
theme: avoid hardcoded color

- calendar day with events (for classic)

11 years agotheme: more osd fixed (for login screen)
Jakub Steiner [Mon, 9 Feb 2015 15:43:46 +0000 (16:43 +0100)]
theme: more osd fixed (for login screen)

11 years agotheme: system-menu-action colors
Jakub Steiner [Mon, 9 Feb 2015 15:25:40 +0000 (16:25 +0100)]
theme: system-menu-action colors

11 years agotheme: Add music notification as well
Carlos Soriano [Mon, 9 Feb 2015 15:24:07 +0000 (16:24 +0100)]
theme: Add music notification as well